// 为了实现这个图开关所在表单项的效果
$prefix: 'yunxiao-formitem-switch';

.#{$prefix} {
  &.vertical-mode {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .#{$teamix-prefix}form-item-label {
    text-align: left;
    display: block;
    padding-right: 0;
    & > label {
      display: block;
    }
  }
  // 该死的hack，只有萨波懂
  & > .#{$teamix-prefix}form-item-control > *:not(.#{$teamix-prefix}overlay-wrapper) {
    margin-top: 8px;
  }
  &-label {
    display: flex;
    justify-content: space-between;
  }
  &-description {
    margin-top: 4px;
    font-size: var(--form-help-font-size, 12px);
    color: var(--color-fill1-6, #8b8b8b);
  }
}
